<form action="<?php echo url_for('charter/redirect') ?>" method="POST">
  <select name='id'>
  	<?php foreach($charters as $record): ?>
	<option value = '<?php echo $record->getId();?>'><?php echo $record->getNome();?></option>
	<?php endforeach; ?>
  </select><br /><br />
  <input type="submit" class="bottone" value="<?php echo __('Invia');?>">
</form><br /><br />

<form method="POST" action="<?php echo url_for('charter/results') ?>">
<table>
  <tr>
	<td valign="top">
		<?php echo __('Tipo');?><br />

	  <select name='tipo'>
		<option value = '0'  selected >&nbsp;&nbsp;</option>
		<option value = '1' ><?php echo __('Motore')?></option>
		<option value = '2' ><?php echo __('Vela')?></option>
		<option value = '3' ><?php echo __('Caicco')?></option>
		<option value = '4' ><?php echo __('Catamarano')?></option>
	  </select><br />
	  </td>
  </tr>
  
  <tr>
	<td valign="top">
		<?php echo __('Ospiti');?><br />
	  <select name='ospiti'>
		<option value = '0'  selected >&nbsp;&nbsp;</option>
		<?php for($x=2;$x<=12;$x++):?><option value = '<?php echo $x;?>' ><?php echo $x;?></option>
		<?php endfor;?>
		<option value = '13'>>12</option>
	  </select>
	  </td>
  </tr>
</table><br />
<input type="submit" class="bottone" value="<?php echo __('Invia');?>">
</form><br /><br />
